#include "ASTLink.h"
#include <string>

using namespace std;

ASTLink::ASTLink(unsigned int fromNode, unsigned int toNode, unsigned int linkType, unsigned int linkIndex)
{
	this->fromNode = fromNode;
	this->toNode = toNode;
	this->linkType = linkType;
	this->linkIndex = linkIndex;
}

unsigned int ASTLink::getFromNode(void)
{
	return this->fromNode;
}

unsigned int ASTLink::getToNode(void)
{
	return this->toNode;
}

unsigned int ASTLink::getLinkIndex(void)
{
	return this->linkIndex;
}

unsigned int ASTLink::getLinkType(void)
{
	return this->linkType;
}